﻿using System;

namespace BrettM.Commands
{
    public class CommandException
        : CommandResult
    {
        public CommandException()
        {

        }

        public CommandException(string message)
            : base(message)
        {

        }

        public CommandException(string message, Exception innerException)
            : this(message)
        {
            this.InnerException = innerException;
        }

        public Exception InnerException { get; set; }
    }
}
